<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link href="style.css" rel="stylesheet" type="text/css"/>
<title>Thrift module: message</title></head><body>
<div class="container-fluid">
<h1>Thrift module: message</h1>
<table class="table-bordered table-striped table-condensed"><thead><th>Module</th><th>Services</th><th>Data types</th><th>Constants</th></thead>
<tr>
<td>message</td><td></td>
<td><a href="#Struct_ListMessagesRequest">ListMessagesRequest</a><br/>
<a href="#Struct_ListMessagesResponse">ListMessagesResponse</a><br/>
<a href="#Struct_UpdateMessageRequest">UpdateMessageRequest</a><br/>
<a href="#Struct_UpdateMessageResponse">UpdateMessageResponse</a><br/>
</td>
<td></code></td>
</tr></table>
<hr/><h2 id="Structs">Data structures</h2>
<div class="definition"><h3 id="Struct_ListMessagesRequest">Struct: ListMessagesRequest</h3>
<table class="table-bordered table-striped table-condensed"><thead><th>Key</th><th>Field</th><th>Type</th><th>Description</th><th>Requiredness</th><th>Default value</th></thead>
<tr><td>1</td><td>fields</td><td><code>list&lt;<code>string</code>&gt;</code></td><td></td><td>default</td><td></td></tr>
<tr><td>6</td><td>src_uid</td><td><code>string</code></td><td></td><td>default</td><td></td></tr>
<tr><td>7</td><td>tgt_uid</td><td><code>string</code></td><td></td><td>default</td><td></td></tr>
<tr><td>8</td><td>tgt_read</td><td><code>i32</code></td><td>"0"-未读 "1"-已读
</td><td>default</td><td></td></tr>
<tr><td>9</td><td>tgt_del</td><td><code>i32</code></td><td>"0"-未删除 "1"-已删除
</td><td>default</td><td></td></tr>
<tr><td>10</td><td>tgt_type</td><td><code>i32</code></td><td>对象类型
</td><td>default</td><td></td></tr>
<tr><td>11</td><td>bhv_type</td><td><code>i32</code></td><td>行为类型
</td><td>default</td><td></td></tr>
<tr><td>16</td><td>offset</td><td><code>i32</code></td><td></td><td>default</td><td>0</td></tr>
<tr><td>17</td><td>limit</td><td><code>i32</code></td><td></td><td>default</td><td>10</td></tr>
<tr><td>20</td><td>trace_tag</td><td><code>string</code></td><td>跟踪字段 【选填】 前端需要跟踪时设置该字段
</td><td>default</td><td></td></tr>
</table><br/>========== 查询消息 ================================================
<br/></div><div class="definition"><h3 id="Struct_ListMessagesResponse">Struct: ListMessagesResponse</h3>
<table class="table-bordered table-striped table-condensed"><thead><th>Key</th><th>Field</th><th>Type</th><th>Description</th><th>Requiredness</th><th>Default value</th></thead>
<tr><td>1</td><td>res</td><td><code>string</code></td><td></td><td>default</td><td>"succ"</td></tr>
<tr><td>2</td><td>offset</td><td><code>i32</code></td><td></td><td>default</td><td></td></tr>
<tr><td>3</td><td>limit</td><td><code>i32</code></td><td></td><td>default</td><td></td></tr>
<tr><td>4</td><td>total</td><td><code>i32</code></td><td></td><td>default</td><td></td></tr>
<tr><td>5</td><td>results</td><td><code>list&lt;<code><a href="module.html#Struct_TMessage">module.TMessage</a></code>&gt;</code></td><td></td><td>default</td><td></td></tr>
<tr><td>10</td><td>trace_tag</td><td><code>string</code></td><td>跟踪字段
</td><td>default</td><td></td></tr>
</table><br/></div><div class="definition"><h3 id="Struct_UpdateMessageRequest">Struct: UpdateMessageRequest</h3>
<table class="table-bordered table-striped table-condensed"><thead><th>Key</th><th>Field</th><th>Type</th><th>Description</th><th>Requiredness</th><th>Default value</th></thead>
<tr><td>1</td><td>ids</td><td><code>list&lt;<code>string</code>&gt;</code></td><td>消息id列表
</td><td>default</td><td></td></tr>
<tr><td>2</td><td>fields</td><td><code>list&lt;<code>string</code>&gt;</code></td><td>要更新的字段，消息只能更新状态：tgt_read和tgt_del
</td><td>default</td><td></td></tr>
<tr><td>3</td><td>message</td><td><code><a href="module.html#Struct_TMessage">module.TMessage</a></code></td><td>要更新成的信息对象
</td><td>default</td><td></td></tr>
<tr><td>10</td><td>trace_tag</td><td><code>string</code></td><td>跟踪字段 【选填】 前端需要跟踪时设置该字段
</td><td>default</td><td></td></tr>
</table><br/>========== 更新消息 ================================================
<br/></div><div class="definition"><h3 id="Struct_UpdateMessageResponse">Struct: UpdateMessageResponse</h3>
<table class="table-bordered table-striped table-condensed"><thead><th>Key</th><th>Field</th><th>Type</th><th>Description</th><th>Requiredness</th><th>Default value</th></thead>
<tr><td>1</td><td>res</td><td><code>string</code></td><td></td><td>default</td><td>"succ"</td></tr>
<tr><td>2</td><td>update_num</td><td><code>i32</code></td><td></td><td>default</td><td></td></tr>
<tr><td>10</td><td>trace_tag</td><td><code>string</code></td><td>跟踪字段
</td><td>default</td><td></td></tr>
</table><br/></div></div></body></html>
